翻訳と辞書
Words near each other
・ Observer
・ Observer (Dunkirk)
・ Observer (Mystery Science Theater 3000)
・ Observer (physics)
・ Observer (quantum physics)
・ Observer (special relativity)
・ Observer Badge
・ Observer Building
・ Observer Drift
・ Observer effect
・ Observer effect (information technology)
・ Observer effect (physics)
・ Observer Group
・ Observer officer
・ Observer Panel
Observer pattern
・ Observer Research Foundation
・ Observer status
・ Observer's Books
・ Observer's paradox
・ Observer-Dispatch
・ Observer-expectancy effect
・ Observer–Reporter
・ Observeur du Design
・ Observing Systems
・ Observium
・ Obsesiones
・ Obsesión (Aventura song)
・ Obsesión (Cuban band)
・ Obsesión (Daniela Castillo album)


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Observer pattern : ウィキペディア英語版
Observer pattern
The observer pattern is a software design pattern in which an object, called the subject, maintains a list of its dependents, called observers, and notifies them automatically of any state changes, usually by calling one of their methods. It is mainly used to implement distributed event handling systems. The Observer pattern is also a key part in the familiar model–view–controller (MVC) architectural pattern.〔(【引用サイトリンク】publisher=MSDN )〕 The observer pattern is implemented in numerous programming libraries and systems, including almost all GUI toolkits.
The observer pattern can cause memory leaks, known as the lapsed listener problem, because in basic implementation it requires both explicit registration and explicit deregistration, as in the dispose pattern, because the subject holds strong references to the observers, keeping them alive. This can be prevented by the subject holding weak references to the observers.
Related patterns: Publish–subscribe pattern, mediator, singleton.
==Structure==


抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Observer pattern」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.